package com.core.reach.cloudhub.service;

import com.core.reach.cloudhub.domain.Payment;
import org.apache.ibatis.annotations.Param;

/**
 * @author ga.zhang
 * @version V1.0
 * @description: TODO
 * @date 2020/3/24 11:19
 **/
public interface PaymentService {

    /**
     * 新增记录
     *
     * @param payment 支付记录
     * @return Integer
     */
    Integer create(Payment payment);

    /**
     * 根据id获取支付信息
     *
     * @param id 主键
     * @return Payment
     */
    Payment getPaymentById(@Param("id") Long id);
}
